﻿using System.Collections.Generic;
using System.Threading.Tasks;

namespace Sidvall.Logging
{
    public interface ILog
    {
        bool ShouldLog(IEnumerable<string> categories, EventType severity);

        Task WriteAsync(string title, string message, IEnumerable<string> categories, EventType severity, IDictionary<string, string> properties);
    }
}
